import axios from "../util/axios";

export function chat(data) {
  return axios.post('/chat', data, {
    headers: {
      token: localStorage.getItem("token") || "",
    }
  })
}

export function getChatDemos() {
  return axios.get('/chat/demo')
}